package com.qfedu.service;

import com.qfedu.dao.LoginDao;
import com.qfedu.entity.Admin;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author zhang
 * @Title: commonValidateAdd
 * @date : 2022/2/24 23:02
 */
@Service
public class LoginServiceImpl implements LoginService {

    @Autowired
    private LoginDao loginDao;
    @Override
    public List<Admin> login(String name, String password) {
        return loginDao.login(name, password);
    }
}
